<%@ Page Title="Edit Commerce Mailer" MasterPageFile="../masterpages/umbracoPage.Master"
    ValidateRequest="false" Language="c#" CodeBehind="editMailer.aspx.cs" AutoEventWireup="True"
    Inherits="CommerceForUmbraco.adminSection.commerce.editMailer" %>

<%@ Register TagPrefix="cc1" Namespace="umbraco.uicontrols" Assembly="controls" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
  <script src="../../js/prototype.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server">


    <cc1:TabView runat="server" ID="tabControl" Width="552px" Height="692px" />

    <%--<cc1:UmbracoPanel ID="Panel1" runat="server" Width="608px" Height="636px" hasMenu="true">--%>
      <cc1:Pane ID="Pane1" runat="server" Height="600px" Width="530px">
        <cc1:PropertyPanel runat="server" ID="pp_name">
              <asp:TextBox ID="MailerName" runat="server" Width="300" CssClass="guiInputText"></asp:TextBox>
        </cc1:PropertyPanel>
        <cc1:PropertyPanel runat="server" ID="pp_to_list">
            <asp:TextBox runat="server" ID="toList" Width="500" TextMode="MultiLine" Height="100" />
        </cc1:PropertyPanel>
        <cc1:PropertyPanel runat="server" ID="pp_cc_list">
            <asp:TextBox runat="server" ID="ccList" Width="500" TextMode="MultiLine" Height="100" />
        </cc1:PropertyPanel>
        <cc1:PropertyPanel ID="pp_from_name" runat="server">
              <asp:TextBox ID="fromName" runat="server" Width="300" CssClass="guiInputText"></asp:TextBox>        
        </cc1:PropertyPanel>
        <cc1:PropertyPanel ID="pp_from_email" runat="server">
              <asp:TextBox ID="fromEmail" runat="server" Width="300" CssClass="guiInputText"></asp:TextBox>        
        </cc1:PropertyPanel>
        <cc1:PropertyPanel ID="pp_is_html" runat="server">
            <asp:CheckBox ID="isHtml" runat="server" />
        </cc1:PropertyPanel>
        <cc1:PropertyPanel ID="pp_subject" runat="server">
              <asp:TextBox ID="subject" runat="server" Width="300" CssClass="guiInputText"></asp:TextBox>        
        </cc1:PropertyPanel>
        <cc1:PropertyPanel ID="pp_message_body" runat="server">
            <asp:TextBox runat="server" ID="messageBody" Width="500" TextMode="MultiLine" Height="200" />
        </cc1:PropertyPanel>        
       </cc1:Pane>
    <%--</cc1:UmbracoPanel>--%>

       
     <cc1:Pane ID="Pane2" runat="server">
        <cc1:PropertyPanel ID="pp_testEmail" runat="server">
            <asp:TextBox ID="testToEmail" runat="server" Width="300" CssClass="guiInputText"></asp:TextBox>
            <asp:Button ID="testEmailSend" runat="server" Text="Send Email Test"></asp:Button>
            <asp:Label ID="testMessage" runat="server" Text=""></asp:Label>
        </cc1:PropertyPanel>
      </cc1:Pane> 
</asp:Content>
